---
slug: /cloud-providers/ovh
title: OVHcloud
sidebar_label: OVHcloud
---

<AccordionGroup>
  <Accordion title="Supported resource list">
  - Alerts
	- Images
	- Compute Instances
	- Kubernetes Clusters
	- Kubernetes Nodes
	- IPs
	- Networks
	- Vracks
	- Projects
	- SSHKeys
	- SSLCertificates
	- SSLGateways
	- Storage Containers
	- Storage Volumes
	- Users
  </Accordion>
</AccordionGroup>

## Local Komiser CLI (Single account)

Komiser now supports multiple cloud accounts by default. Account configuration is done through the `config.toml` file, just pass in your account `OVH credentials`.

We've also added 2 methods of persisting your account data.
### Postgres
#### Add to config.toml file
```
[postgres]
uri="postgres://postgres:komiser@localhost:5432/komiser?sslmode=disable"
```
<Tip> For Postgres, Komiser anticipates the existence of a role `postgres` and a database `komiser` on the local Postgres server. </Tip>

### SQLite

```
[sqlite]
  file = "komiser.db"
```

### Configuring Credentials

The OVH credentials required to successfully integrate Komiser can be easily generated by:

#### Creating [app keys](https://help.ovhcloud.com/csm/asia-api-getting-started-ovhcloud-api?id=kb_article_view&sysparm_article=KB0042776#create-your-app-keys)
- Go to [OVHcloud API](https://ca.api.ovh.com/) page.
- Click `Login` in the upper right.
- Enter your OVHcloud credentials.
- Set a timeline, labelled Validity, during which you allow actions through the OVHcloud APIs.
- Click the following link: https://ca.api.ovh.com/createToken/
- Fill in your OVHcloud customer ID, password, and application name.
- Click on `Create keys` button.
You will be issued three keys: the application key called AK, tour application secret called AS and your consumer key called CK.

#### Add your OVHcloud credentials to your configuration file

```
[[ovh]]
  name="ovh-account"
  endpoint="ovh-eu"
  application_key="my_app_key"
  application_secret="my_application_secret"
  consumer_key="my_consumer_key"

[sqlite]
  file="komiser.db
```

### Run it!
That should be it. Try out the following from your command prompt to start the server:

```
komiser start 
```

Point your browser to `http://localhost:3000`

## Local Komiser CLI (Multiple accounts)
Simply add more authentication blocks to the configuration file

```
[[ovh]]
  name="ovh-account"
  endpoint="ovh-eu"
  application_key="my_app_key"
  application_secret="my_application_secret"
  consumer_key="my_consumer_key"

[[ovh]]
  name="ovh-account-1"
  endpoint="ovh-eu"
  application_key="my_app_key"
  application_secret="my_application_secret"
  consumer_key="my_consumer_key"

[[ovh]]
  name="ovh-account-2"
  endpoint="ovh-eu"
  application_key="my_app_key"
  application_secret="my_application_secret"
  consumer_key="my_consumer_key"

[[ovh]]
  name="ovh-account-3"
  endpoint="ovh-eu"
  application_key="my_app_key"
  application_secret="my_application_secret"
  consumer_key="my_consumer_key"

[sqlite]
  file="komiser.db
```